﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Distrackting.BusinessLayer
{
    public class Testemunho
    {
        private int cod_testemunho;
        private DateTime data;
        private string texto;
        private int rating;

        public Testemunho()
        {
            this.cod_testemunho = -1;
            this.data = DateTime.Today;
            this.texto = "";
            this.rating = 0;
        }

        public Testemunho(int ct, DateTime d, string txt, int rate)
        {
            this.cod_testemunho = ct;
            this.data = d;
            this.texto = txt;
            this.rating = rate;
        }

        public int getCodTestemunho() { return this.cod_testemunho; }
        public DateTime getData() { return this.data; }
        public string getTexto() { return this.texto; }
        public int getRating() { return this.rating; }

    }
}
